import request from "@/utils/request";

export function exportExcel(query) {
  return request({
    url: '/finance/factoring-detail/exportExcel',
    method: 'get',
    params: query,
    responseType: 'blob'  //  设置响应类型为二进制，防止出现乱码 锟斤拷
  })
}

export function getFactoringList(data) {
  return request({
    url: 'finance/factoring-detail/detailList',
    method: 'get',
    params: data
  })
}


